package pers.hl.module_login


import pers.hl.lib_global.http.LibResponse
import pers.hl.lib_global.model.bean.User
import pers.hl.lib_global.mvvm.BaseLibModel

class LoginModel : BaseLibModel() {

    suspend fun login(account: String, password: String): LibResponse<User> {
        return libService.login(account, password)
    }

    suspend fun register(account: String, password: String): LibResponse<User> {
        return libService.register(account, password)
    }

}